<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('admin/default/welcome')}">开始</a> {$sitename} / <a href="{url('fragment/index')}">碎片管理</a></div>
<div class="m10">
<div class="table-head fn-clear">
    <div class="fn-l"><a href="{url('fragment/index')}" class="button"> <i class="iconfont">&#xf0ca;</i> 列表</a><strong>碎片管理</strong></div>
    <div class="fn-r"><a href="{url('fragment/edit')}" class="button button-blue"> <i class="iconfont">&#xf055;</i> 添加碎片</a></div>
</div>
<table class="table">
<thead>
    <tr>
        <th class="fn-tac w100">调用标签</th>
        <th class="fn-tac w100">所属站点</th>
        <th class="fn-tal">标题</th>
        <th class="w120 fn-tac">更新时间</th>
        <th class="w80 fn-tac">操作</th>
    </tr>
</thead>
<tbody>
{loop $list $vo}
<tr>
    <td class="fn-tac"><input class="input w80 h20 p0 fn-tac" type="text" value="{inc:{$vo['id']}}" /></td>
    <td class="fn-tac">{$vo['website_name']}</td>
    <td class="fn-tal"><a title="编辑" href="{url('fragment/edit',array(id=>$vo['id'],type=>1))}">{$vo['title']}</a></td>
    <td class="fn-tac">{date('Y-m-d H:i:s',$vo['uptime'])}</td>
    <td class="fn-tac tip"><a title="编辑" href="{url('fragment/edit',array(id=>$vo['id']))}">编辑</a> / <a href="###" class="del" title="删除" url="{url('fragment/index',array(id=>$vo['id'],act=>del))}">删除</a></td>
</tr>
{/loop}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
Do('base','dialog',function(){
  $('.del').click(function(){$(this).del();});
})
</script>